/****************************************************************************
*
* Copyright (c) 2023  C*Core -   All Rights Reserved
*
* THIS SOFTWARE IS DISTRIBUTED "AS IS, " AND ALL WARRANTIES ARE DISCLAIMED,
* INCLUDING MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* PROJECT     : CCFC2011BC
* DESCRIPTION : iic demo code
* HISTORY     : Initial version.
* @file     iic_demo.h
* @version  1.1
* @date     2023 - 02 - 20
* @brief    Initial version.
*
*****************************************************************************/
#ifndef IIC_DEMO_H
#define IIC_DEMO_H

#include "CCFC2011BC.h"

/*
 *                 | Master Device | Slave Device
 * I2C_MASTER_MODE |       1       |      0
 ************************************************************************/
#define I2C_CASE1           0U
#define I2C_CASE2           0U
#define I2C_CASE3           0U
#define I2C_CASE4           0U
#define I2C_CASE5           0U
#define I2C_CASE6           0U
#define I2C_CASE7           0U
#define I2C_CASE8           1U
#define I2C_CASE9           0U
#define I2C_CASE10          0U

#define I2C_MASTER_FLAG     1U
#define I2C_SLAVE_FLAG      0U

extern void IIC_Demo(void);

#endif  /* __IIC_DEMO_H */
